package com.tengju.user.domain.model.department;

import com.tengju.user.domain.shared.IdObject;

/**
 * @Author: 李大仙
 * @Date: 2021/4/22 11:32 上午
 */
public class DepartmentId extends IdObject {
    /**
     * Instantiates a new Id object.
     *
     * @param value the value
     */
    public DepartmentId(long value) {
        super(value);
    }

    public static DepartmentId of(Long value) {
        if (value == null) {
            return null;
        }
        return new DepartmentId(value);
    }
}
